Predis\Connection\PhpiredisSocketConnection A

Total Complexity 59
Dependencies 8
Dependents 0
Total lines 372
Lines of code 204
Logical lines of code 123
Comment lines 79
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
connectWithTimeout()
A
51 8 25
setSocketOptions()
S
52 7 25
read()
S
57 6 16
createResource()
S
53 5 21
assertParameters()
S
58 5 16
connect()
S
63 5 10
write()
S
61 4 13
assertExtensions()
S
64 3 12
getAddress()
S
65 3 9
getStatusHandler()
S
67 2 9
getErrorHandler()
S
67 2 9
disconnect()
S
72 2 6
writeRequest()
S
73 1 5
__construct()
S
74 1 5
__destruct()
S
77 1 4
emitSocketError()
S
70 1 6
getReader()
S
82 1 3
createReader()
S
70 1 6
__wakeup()
S
77 1 4